package com.zm.shop.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller //仅做后端页面跳转使用
@Slf4j
public class ViewController {

    @GetMapping("/auth/{page}.html")
    public String toPage(@PathVariable String page){
        log.debug("page:{}",page);
        return page;
    }
}
